// MyJpeg.h: interface for the CMyJpeg class.
//
//////////////////////////////////////////////////////////////////////

#pragma once

#include "jpeglib.h"

class CMyJPEG
{
public:
	static bool isJpeg(LPCTSTR lpFilename);
	bool bWriteJPEG(LPCTSTR lpFilename, int iQuality);
	int iReadJPEG(LPCTSTR lpFilename);
	CMyJPEG();
	virtual ~CMyJPEG();

	UINT32 width, height;
	BYTE *pImg;
};
